package cn.yo2.irain.log4money.app.accountbooks;

import java.util.List;

import cn.yo2.irain.log4money.app.accountbooks.AccountVO;

public interface IAccountServices {

    /**
     * 
     * @param vo
     * @throws RuntimeException
     */
	public void saveAccount(AccountVO vo) throws RuntimeException;

    /**
     *
     * @param vo
     * @throws RuntimeException
     */
	public void updateAccount(AccountVO vo) throws RuntimeException;

    /**
     *
     * @param account
     * @throws RuntimeException
     */
	public void deleteAccount(AccountVO vo) throws RuntimeException;

    /**
     *
     * @param userid
     * @return
     * @throws RuntimeException
     */
	public List findAll(String userid) throws RuntimeException;

    /**
     *
     * @return
     */
	public List findInAccount();

    /**
     *
     * @return
     */
	public List findOutAccount();

    /**
     * 
     * @param id
     * @return
     */
	public AccountVO findById(String id);

}
